﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.StoreManagement
{
    public class AddCertificateOutput
    {
        /// <summary>
        /// 合格证号
        /// </summary>
        public string QualifiedNumber { get; set; }
        /// <summary>
        /// 放行单号
        /// </summary>
        public string ReleaseOrder { get; set; }

        /// <summary>
        /// 产品图号
        /// </summary>
        public string ProductDrawingNo { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }

        /// <summary>
        /// 合格证号任务
        /// </summary>
        public string QualifiedTaskNumber { get; set; }
        /// <summary>
        /// 阶段标记
        /// </summary>
        public string StageMark { get; set; }

        /// <summary>
        /// 型号(产品代号)
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 发次
        /// </summary>
        public string SendTime { get; set; }

        /// <summary>
        /// 物料类别
        /// </summary>
        public string MaterialsNodeDesc { get; set; }


        /// <summary>
        /// 对应物料细分类别
        /// </summary>
        public string MaterialCategoryDesc { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string Module { get; set; }

        /// <summary>
        /// 有效期止
        /// </summary> 
        public string ExpirationDate { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 储位
        /// </summary>
        public string BinLocation { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 产品编号(件号)
        /// </summary>
        public string ProductNumber { get; set; }

        /// <summary>
        /// 特殊记载
        /// </summary>
        public string SpecialRecords { get; set; }


        /// <summary>
        /// 出库数量
        /// </summary>
        public int OutNum { get; set; }

        /// <summary>
        /// 去向
        /// </summary>
        public string WhereAbouts { get; set; }
        /// <summary>
        /// 报废人Id/返修人Id/驳回人Id
        /// </summary>
        public long? operationPersonId { get; set; }
        /// <summary>
        /// 报废人/返修人/驳回人
        /// </summary>
        public string operationPerson { get; set; }

        /// <summary>
        /// 报废时间/返修时间/驳回时间
        /// </summary>
        public DateTime? operationTime { get; set; }

        /// <summary>
        /// 报废分类
        /// </summary>
        public string ScrapReason { get; set; }

        /// <summary>
        /// 报废分类
        /// </summary>
        public Guid? ScrapReasonId { get; set; }

        /// <summary>
        /// 备注原因
        /// </summary>
        public string Remark { get; set; }

        public List<CertificateContent> CertificateContents { get; set; }

        /// <summary>
        /// 退库人
        /// </summary>
        public string CancellingUser { get; set; }

        /// <summary>
        /// 退库人Id
        /// </summary>
        public long? CancellingUserId { get; set; }
        /// <summary>
        /// 退库人时间
        /// </summary>
        public DateTime? CancellingTime { get; set; }

    }
}
